home *** CD-ROM | disk | FTP | other *** search
/ Internet Publisher's Toolbox 2.0 / Internet Publisher's Toolbox.iso / internet / ntserver / wtsource / waisgn.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-15  |  1.3 KB  |  46 lines

  1. /*
  2.     Gn: A Server for the Internet Gopher Protocol(*).
  3.     File: waisgn/waisgn.h
  4.     Version 2.0
  5.     
  6.     Copyright (C) 1993  <by John Franks>
  7.  
  8.     This program is free software; you can redistribute it and/or modify
  9.     it under the terms of the GNU General Public License as published by
  10.     the Free Software Foundation; either version 1, or (at your option)
  11.     any later version.
  12.  
  13.     This program is distributed in the hope that it will be useful,
  14.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.     GNU General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU General Public License
  19.     along with this program; if not, write to the Free Software
  20.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22.     (*) Gopher is a registered trademark of the Univ. of Minn.
  23. */
  24.  
  25. #define    PATHLEN    (4096)
  26. #define    MAXLEN    (4096)
  27. #define BUFSIZE    (4096)
  28. #define    MIDLEN    (1024)
  29. #define SMALLLEN (256)
  30.  
  31.  
  32. #define streq( a, b)    ( strcmp( (a), (b)) == 0 )
  33. #define MAXHITS_RETURNED    (40)
  34.  
  35. #ifndef TRUE
  36. #define TRUE    (1)
  37. #endif
  38.  
  39. #ifndef FALSE
  40. #define FALSE    (0)
  41. #endif
  42.  
  43. #define LOG_DEBUG    FALSE
  44. #define    LOG_DEBUG_FILE    "/tmp/waisgn.debug"
  45.  
  46.